package com.yuanqunsoft.alimigration.model;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * Module entity. @author MyEclipse Persistence Tools
 */

public class Module implements java.io.Serializable {

    // Fields

    private Integer modId;
    private Application application;
    private String modName;
    private Timestamp modCreateTime;
    private String modFileUrl;
    private Set alerts = new HashSet(0);

    // Constructors

    /** default constructor */
    public Module() {
    }

    /** minimal constructor */
    public Module(Application application, String modName, Timestamp modCreateTime, String modFileUrl) {
        this.application = application;
        this.modName = modName;
        this.modCreateTime = modCreateTime;
        this.modFileUrl = modFileUrl;
    }

    /** full constructor */
    public Module(Application application, String modName, Timestamp modCreateTime, String modFileUrl, Set alerts) {
        this.application = application;
        this.modName = modName;
        this.modCreateTime = modCreateTime;
        this.modFileUrl = modFileUrl;
        this.alerts = alerts;
    }

    // Property accessors

    public Integer getModId() {
        return this.modId;
    }

    public void setModId(Integer modId) {
        this.modId = modId;
    }

    public Application getApplication() {
        return this.application;
    }

    public void setApplication(Application application) {
        this.application = application;
    }

    public String getModName() {
        return this.modName;
    }

    public void setModName(String modName) {
        this.modName = modName;
    }

    public Timestamp getModCreateTime() {
        return this.modCreateTime;
    }

    public void setModCreateTime(Timestamp modCreateTime) {
        this.modCreateTime = modCreateTime;
    }

    public String getModFileUrl() {
        return this.modFileUrl;
    }

    public void setModFileUrl(String modFileUrl) {
        this.modFileUrl = modFileUrl;
    }

    public Set getAlerts() {
        return this.alerts;
    }

    public void setAlerts(Set alerts) {
        this.alerts = alerts;
    }

}